import { createTables, resetAndSeedTable } from "./knex";

const main = async () => {
    try {
        await createTables();
        await resetAndSeedTable();
        console.log("数据库初始化完成");
    } catch (error) {
        console.log("数据库初始化失败");
    }
};

main();
